home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.1 (Developer) [x86]
/
NeXT Step 3.1 Intel dev.cdr.dmg
/
NextDeveloper
/
Examples
/
AppKit
/
Graph
/
Makefile.postamble
< prev
next >
Wrap
Makefile
|
1993-01-22
|
920b
|
26 lines
# the vers.c file is created by running the vers_string command. This command
# strips off the version from the name of the directory in which we are
# building. (See the vers_string man page.)
vers.c:
vers_string -c Graph > $(SYMROOT)/$@
# making this forces creation of a new vers.c, with up to date version info
force_version::
-/bin/rm -f $(SYMROOT)/vers.c
# whenever we install, we make sure the version info is up to date
install:: force_version
# dependencies to force lex'ing before yacc'ing, so things build correctly
token.m: y.tab.h
y.tab.h: expr.m
# copy some test documents along with our source when we install
# set files to be readonly and directories to be searchable
installsrc::
mkdirs $(SRCROOT)/DemoDocs
cp -r DemoDocs/*.xyzgraph DemoDocs/*.xygraph $(SRCROOT)/DemoDocs
(cd $(SRCROOT)/DemoDocs; find * ! -type d -exec /bin/chmod 444 {} \; ; find * -type d -exec /bin/chmod 755 {} \; ;)